<%-- 
    Document   : pertanyaan_taha_submit
    Created on : Aug 13, 2012, 2:16:19 PM
    Author     : ubuntu
--%>
<%@ include file="/WEB-INF/jsp/include/page_header.jspf" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script type="text/javascript">
            $(document).ready(function () { 
                var age = '${actionBean.taha.umur}';                
                if (parseInt(age) < 17) { 
                    $('.1').show();
                    $('.2').hide();
                } else {
                    $('.2').show();
                    $('.1').hide();
                }
            });
            
            
            function doSelect(val) {
                if (val == '1') { 
                    $('.1').show();
                    $('.2').hide();
                } else if (val == '2') {
                    $('.2').show();
                    $('.1').hide();
                }                
            }
        </script>
    </head>
    <body>
        <s:form beanclass="th.stripes.action.TahaActionBean" class="niceform">
            <div id="content">
                <div id="logo">
                    <span>
                        <img src="${pageContext.request.contextPath}/images/img/ribbon.png"/>               
                    </span>
                </div>
                <h3>
                    <span class="1">Maklumat Kelab TaHa</span>
                    <span class="2">Maklumat Kelab TaHa@U</span>
                </h3>           

                <p>
                    <label>No. Ahli :</label>
                    ${actionBean.taha.noAhli}
                </p>
<!--                <p>
                    <label>Jenis Kelab :</label>
                    ${actionBean.taha.jenisKelab}
                </p>-->
                <p>
                    <label>No. Akaun TH :</label>
                    ${actionBean.taha.noAkaun}
                </p>
                <p>
                    <label>Nama :</label>
                    ${actionBean.taha.nama}
                </p>
                <p>
                    <label>Tarikh Lahir :</label>                    
                    <fmt:formatDate value="${actionBean.taha.trhLahir}" pattern="dd/MM/yyyy"/>
                </p>
                <p>
                    <label>Umur :</label>
                    ${actionBean.taha.umur}
                </p>
                <p>
                    <label>No. KP Semasa :</label>
                    ${actionBean.taha.noPengenalan}
                </p>
                <p>
                    <label>Jantina :</label>
                    ${actionBean.taha.jantina.nama}
                </p>
                <p style="height: 15px;">

                    <label>Alamat Surat Menyurat :</label>
                    ${actionBean.taha.alamat1}&nbsp;                               
                </p>   
                <p style="height: 15px;">
                    <label>&nbsp;</label>
                    ${actionBean.taha.alamat2}&nbsp;
                </p>
                <p style="height: 15px;">
                    <label>&nbsp;</label>
                    ${actionBean.taha.alamat3}&nbsp;
                </p>
                <p>

                    <label>Negeri :</label>   
                    ${actionBean.taha.negeri.desc}&nbsp;
                </p>
                <p>
                    <label>Poskod :</label>    
                    ${actionBean.taha.poskod.poskod}&nbsp${actionBean.taha.poskod.nama}&nbsp;
                </p>
                <p>
                    <label>No. Tel :</label>    
                    ${actionBean.taha.telefon}&nbsp;
                </p>
                <p>
                    <label>Emel :</label>           
                    ${actionBean.taha.email}&nbsp;
                </p>

                <div class="1">       
                    <div id="logo">
                        <span>
                            <img src="${pageContext.request.contextPath}/images/img/ribbon.png"/>               
                        </span>
                    </div>
                    <h3>Maklumat Persekolahan</h3>                   
                    <p>
                        <label>Kategori Sekolah :</label>
                        ${actionBean.taha.jenisSekolah.nama}&nbsp;
                    </p>
                    <p>
                        <label>Sekolah :</label>
                        ${actionBean.taha.sekolah.nama}&nbsp;
                    </p>
                    <p>
                        <label>Negeri :</label>
                        ${actionBean.taha.negeriSekolah.desc}&nbsp;
                    </p>
                </div>

                <div class="2"> 
                    <div id="logo">
                        <span>
                            <img src="${pageContext.request.contextPath}/images/img/ribbon.png"/>               
                        </span>
                    </div>
                    <h3>Maklumat Pengajian</h3>

                    <p>
                        <label>Institusi Pengajian :</label>
                        ${actionBean.taha.universiti.nama}&nbsp;

                    </p>
                    <p>
                        <label>No. Pelajar / Matrik :</label>
                        ${actionBean.taha.noMatrik}&nbsp;
                    </p>
                    <p>
                        <label>Jenis Pengajian :</label>
                        ${actionBean.taha.jenisPengajian.nama}&nbsp;
                    </p>
                    <p>
                        <label>Peringkat Pengajian :</label>
                        ${actionBean.taha.tahapPengajian.nama}&nbsp;
                    </p>
                    <p>
                        <label>Jurusan Pengajian :</label>
                        ${actionBean.taha.jurusanPengajian.nama}&nbsp;
                    </p>
                    <p>
                        <label>Fakulti Pengajian :</label>
                        ${actionBean.taha.fakultiPengajian.nama}&nbsp;
                    </p>
                    <p>
                        <label>Tarikh Masuk IPT :</label>
                        <fmt:formatDate value="${actionBean.taha.trhmasukIPT}" pattern="dd/MM/yyyy"/>&nbsp;
                    </p>
                    <p>
                        <label>Jangkaan Tamat :</label>
                        <fmt:formatDate value="${actionBean.taha.trhtamatIPT}" pattern="MM/yyyy"/>&nbsp;
                    </p>
                </div>                
            </div>             
        </s:form>
    </body>
</html>
